<!doctype html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0">
	<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
	<title>jQuery和CSS3简单的3D旋转木马插件|DEMO_jQuery之家-自由分享jQuery、html5、css3的插件库</title>
	<link rel="stylesheet" type="text/css" href="css/normalize.css" />
	<link rel="stylesheet" type="text/css" href="css/default.css">
	<style>
	* {
		margin: 0;
		padding: 0;
	}
	li {
		float: left;
		list-style-type: none;
		position:absolute;
		opacity: 0.6;
		transition-property: all;
		transition-duration:1s;
		transition-timing-function:ease-in-out;
		text-align: center;
		color: #fff;
		font-size: 70px;
		cursor: pointer;
	}

	ul {
		width: 100px;
		height: 100px;
		margin: 100px auto;
		-webkit-transform: rotateY(-10deg) rotateX(-20deg);
		transform: rotateY(-10deg) rotateX(-20deg);
		-webkit-transform-style: preserve-3d;
		transform-style: preserve-3d;
	  	-webkit-perspective: 400px;
	  	perspective: 400px;
		position: relative;
	}

	.box1 > li > div, .box2 > li > div {
		background: red;
		position: absolute;
		top: 10px;
		right: 10px;
		left: 10px;
		bottom: 10px;
	}
	</style>
	<!--[if IE]>
		<script src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script>
	<![endif]-->
</head>
<body>
	<div class="htmleaf-container">
		<header class="htmleaf-header">
			<h1>jQuery和CSS3简单的3D旋转木马插件 <span>A 3D Cube Slider Plugin with jQuery and CSS3</span></h1>
			<div class="htmleaf-links">
				<a class="htmleaf-icon icon-htmleaf-home-outline" href="http://www.htmleaf.com/" title="jQuery之家" target="_blank"><span> jQuery之家</span></a>
				<a class="htmleaf-icon icon-htmleaf-arrow-forward-outline" href="http://www.htmleaf.com/jQuery/Slideshow-Scroller/201507202261.html" title="返回下载页" target="_blank"><span> 返回下载页</span></a>
			</div>
		</header>
		<div class="htmleaf-content bgcolor-3">
			<ul class="box1">
				<li><div>1</div></li>
				<li><div>2</div></li>
				<li><div>3</div></li>
				<li><div>4</div></li>
			</ul>
			<ul class="box2">
				<li><div>1</div></li>
				<li><div>2</div></li>
				<li><div>3</div></li>
				<li><div>4</div></li>
				<li><div>5</div></li>
				<li><div>6</div></li>
				<li><div>7</div></li>
			</ul>
		</div>
		
		<div class="related">
		    <h3>如果你喜欢这个插件，那么你可能也喜欢:</h3>
		    <a href="http://www.htmleaf.com/jQuery/Slideshow-Scroller/201507052167.html">
			  <img src="related/1.jpg" width="300" alt="高性能的jQuery/Zepto 3D旋转木马插件"/>
			  <h3>高性能的jQuery/Zepto 3D旋转木马插件</h3>
			</a>
			<a href="http://www.htmleaf.com/jQuery/Slideshow-Scroller/201505241897.html">
			  <img src="related/2.jpg" width="300" alt="jQuery和CSS3炫酷响应式支持触摸屏的3D旋转木马特效"/>
			  <h3>jQuery和CSS3炫酷响应式支持触摸屏的3D旋转木马特效</h3>
			</a>
		</div>
	</div>
	
	<script src="http://libs.useso.com/js/jquery/2.1.1/jquery.min.js" type="text/javascript"></script>
	<script>window.jQuery || document.write('<script src="js/jquery-2.1.1.min.js"><\/script>')</script>
	<script src="js/jquery.cubeSlider.js"></script>
	<script>
	$(function(){
		$('.box1').polygon({
			width: 150,
			height: 150,
			timer: 2000
		});
		$('.box2').polygon({
			width: 150,
			height: 150,
			timer: 2000
		});
	});
	</script>
</body>
</html>